#include"comm.hpp"

int main()
{
    int fd = open(ipcPath.c_str(),O_WRONLY);

    if(fd<0)
    {
        perror("open");
        exit(1);
    }

    string buffer;
    while(1)
    {
        cout<<"Please Enter Message Line :> ";
        std:: getline(std::cin,buffer);
        write(fd,buffer.c_str(),buffer.size());
    }

    close(fd);

    return 0;
}